package com.hec.yygh.hosp.service;

import com.hec.yygh.common.result.R;
import com.hec.yygh.model.hosp.Department;
import org.springframework.data.domain.Page;

import java.util.Map;

public interface DepartmentService {
    void saveDepartmentList(Map<String, Object> stringObjectMap);

    Page findDepartmentPage(Map<String, Object> stringObjectMap);

    void removeDepartmentByDepcode(Map<String, Object> stringObjectMap);

    R getAllDepartments(String hoscode);

    Department getDepartment(String hoscode, String depcode);

    Department getDepartmentByDepcode(String hoscode,String depcode);
}